/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package cart.hibernate.authLevel;

/**
 *
 * @author BibooChung
 */

import java.util.Set;
import java.util.HashSet;
import cart.hibernate.staff.*;

public class AuthLevel {
    private int authLevelId;
    private String authLevel;

    private Set<Staff> staffs = new HashSet<Staff>();

    public AuthLevel(){
    }

    public AuthLevel(String authLevel){
        this.authLevel = authLevel;
    }

    public int getAuthLevelId(){
        return authLevelId;
    }
    /**
     * Getter of authLevel
     * @return this.authLevel
     */
    public String getAuthLevel(){
        return authLevel;
    }
  
    public Set<Staff> getStaffs() {  
        return staffs;
    }  
    
    /**
     * Setter of authLevelId
     * @param id set authLevelId to id's value
     */
    public void setAuthLevelId(int id) {
        this.authLevelId = id;
    }
    /**
     * Setter of authLevel
     * @param authLevel set authLevel to authLevel's value
     */
    public void setAuthLevel(String authLevel){
        this.authLevel = authLevel;
    }

    public void setStaffs(Set<Staff> staffs) {  
        this.staffs = staffs;
    }  
}
